



<!DOCTYPE html>
<html lang="en">
  
  <head>
    
      <meta charset="utf-8">
      <title>Bokeh Plot</title>
      
      
        
          
        
        
          
        <script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-1.4.0.min.js"></script>
        <script type="text/javascript">
            Bokeh.set_log_level("info");
        </script>
        
      
      
    
  </head>
  
  
  <body>
    
      
        
          
          
            
              <div class="bk-root" id="034901fd-02e8-4e6f-9655-9e8e94c6d5e0" data-root-id="1848"></div>
            
          
        
      
      
        <script type="application/json" id="2070">
          {"9524a28d-3a9e-4e10-9b5b-1a285a78069c":{"roots":{"references":[{"attributes":{"below":[{"id":"1859","type":"CategoricalAxis"}],"center":[{"id":"1862","type":"Grid"},{"id":"1867","type":"Grid"},{"id":"1893","type":"Legend"}],"left":[{"id":"1863","type":"LinearAxis"}],"outline_line_color":{"value":null},"plot_width":1000,"renderers":[{"id":"1886","type":"GlyphRenderer"},{"id":"1899","type":"GlyphRenderer"}],"title":{"id":"1849","type":"Title"},"toolbar":{"id":"1872","type":"Toolbar"},"x_range":{"id":"1851","type":"FactorRange"},"x_scale":{"id":"1855","type":"CategoricalScale"},"y_range":{"id":"1853","type":"DataRange1d"},"y_scale":{"id":"1857","type":"LinearScale"}},"id":"1848","subtype":"Figure","type":"Plot"},{"attributes":{"formatter":{"id":"1889","type":"BasicTickFormatter"},"minor_tick_line_color":{"value":null},"ticker":{"id":"1864","type":"BasicTicker"}},"id":"1863","type":"LinearAxis"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"1847","type":"HoverTool"},{"id":"1868","type":"ResetTool"},{"id":"1869","type":"WheelZoomTool"},{"id":"1870","type":"PanTool"},{"id":"1871","type":"CrosshairTool"}]},"id":"1872","type":"Toolbar"},{"attributes":{},"id":"1870","type":"PanTool"},{"attributes":{"dimension":1,"ticker":{"id":"1864","type":"BasicTicker"}},"id":"1867","type":"Grid"},{"attributes":{"callback":null},"id":"1853","type":"DataRange1d"},{"attributes":{"click_policy":"mute","items":[{"id":"1894","type":"LegendItem"},{"id":"1908","type":"LegendItem"}],"orientation":"horizontal"},"id":"1893","type":"Legend"},{"attributes":{"fields":["sale_on_11"]},"id":"1880","type":"Stack"},{"attributes":{"label":{"value":"sale_on_11"},"renderers":[{"id":"1886","type":"GlyphRenderer"}]},"id":"1894","type":"LegendItem"},{"attributes":{"source":{"id":"1846","type":"ColumnDataSource"}},"id":"1900","type":"CDSView"},{"attributes":{"bottom":{"expr":{"id":"1880","type":"Stack"}},"fill_alpha":{"value":0.2},"fill_color":{"value":"black"},"line_alpha":{"value":0.2},"top":{"expr":{"id":"1881","type":"Stack"}},"width":{"value":0.9},"x":{"field":"brand"}},"id":"1898","type":"VBar"},{"attributes":{"callback":null,"data":{"brand":["\u60a6\u8bd7\u98ce\u541f","\u4f70\u8349\u96c6","\u6b27\u83b1\u96c5","\u96c5\u8bd7\u5170\u9edb","\u5029\u78a7","\u59ae\u7ef4\u96c5","\u7f8e\u52a0\u51c0","\u5a07\u5170","\u5170\u853b","\u6b27\u73c0\u83b1","\u76f8\u5b9c\u672c\u8349","\u81ea\u7136\u5802","\u5170\u829d","\u7f8e\u5b9d\u83b2","\u690d\u6751\u79c0","\u7389\u5170\u6cb9","\u8d44\u751f\u5802","\u8587\u59ff","\u96c5\u6f3e","\u96ea\u82b1\u79c0","SKII","\u871c\u4e1d\u4f5b\u9640"],"presell":[60,182,115,239,299,78,6,365,202,110,79,57,24,114,183,90,157,132,47,60,90,92],"sale_on_11":[2709,1840,1644,1392,1304,1189,1217,805,917,991,844,817,817,619,508,588,479,475,540,434,342,327],"sum":[2769,2022,1759,1631,1603,1267,1223,1170,1119,1101,923,874,841,733,691,678,636,607,587,494,432,419]},"selected":{"id":"1907","type":"Selection"},"selection_policy":{"id":"1906","type":"UnionRenderers"}},"id":"1846","type":"ColumnDataSource"},{"attributes":{"callback":null,"factors":["\u60a6\u8bd7\u98ce\u541f","\u4f70\u8349\u96c6","\u6b27\u83b1\u96c5","\u96c5\u8bd7\u5170\u9edb","\u5029\u78a7","\u59ae\u7ef4\u96c5","\u7f8e\u52a0\u51c0","\u5a07\u5170","\u5170\u853b","\u6b27\u73c0\u83b1","\u76f8\u5b9c\u672c\u8349","\u81ea\u7136\u5802","\u5170\u829d","\u7f8e\u5b9d\u83b2","\u690d\u6751\u79c0","\u7389\u5170\u6cb9","\u8d44\u751f\u5802","\u8587\u59ff","\u96c5\u6f3e","\u96ea\u82b1\u79c0","SKII","\u871c\u4e1d\u4f5b\u9640"]},"id":"1851","type":"FactorRange"},{"attributes":{},"id":"1864","type":"BasicTicker"},{"attributes":{"source":{"id":"1846","type":"ColumnDataSource"}},"id":"1887","type":"CDSView"},{"attributes":{"formatter":{"id":"1891","type":"CategoricalTickFormatter"},"minor_tick_line_color":{"value":null},"ticker":{"id":"1860","type":"CategoricalTicker"}},"id":"1859","type":"CategoricalAxis"},{"attributes":{"callback":null,"tooltips":[["\u54c1\u724c","@brand"],["\u53cc\u5341\u4e00\u5f53\u5929\u53c2\u4e0e\u6d3b\u52a8\u7684\u5546\u54c1\u6570\u91cf","@sale_on_11"],["\u9884\u552e\u5546\u54c1\u6570\u91cf","@presell"],["\u53c2\u4e0e\u53cc\u5341\u4e00\u6d3b\u52a8\u5546\u54c1\u603b\u6570","@sum"]]},"id":"1847","type":"HoverTool"},{"attributes":{},"id":"1906","type":"UnionRenderers"},{"attributes":{},"id":"1857","type":"LinearScale"},{"attributes":{"bottom":{"expr":{"id":"1880","type":"Stack"}},"fill_alpha":{"value":0.8},"fill_color":{"value":"#e84d60"},"line_alpha":{"value":0.8},"line_color":{"value":"#e84d60"},"top":{"expr":{"id":"1881","type":"Stack"}},"width":{"value":0.9},"x":{"field":"brand"}},"id":"1896","type":"VBar"},{"attributes":{"grid_line_color":null,"ticker":{"id":"1860","type":"CategoricalTicker"}},"id":"1862","type":"Grid"},{"attributes":{},"id":"1891","type":"CategoricalTickFormatter"},{"attributes":{"fields":["sale_on_11"]},"id":"1879","type":"Stack"},{"attributes":{"data_source":{"id":"1846","type":"ColumnDataSource"},"glyph":{"id":"1896","type":"VBar"},"hover_glyph":null,"muted_glyph":{"id":"1898","type":"VBar"},"name":"presell","nonselection_glyph":{"id":"1897","type":"VBar"},"selection_glyph":null,"view":{"id":"1900","type":"CDSView"}},"id":"1899","type":"GlyphRenderer"},{"attributes":{},"id":"1855","type":"CategoricalScale"},{"attributes":{},"id":"1868","type":"ResetTool"},{"attributes":{"text":"\u5404\u4e2a\u54c1\u724c\u53c2\u4e0e\u53cc\u5341\u4e00\u6d3b\u52a8\u7684\u5546\u54c1\u6570\u91cf\u5206\u5e03"},"id":"1849","type":"Title"},{"attributes":{"dimensions":"width"},"id":"1869","type":"WheelZoomTool"},{"attributes":{},"id":"1907","type":"Selection"},{"attributes":{},"id":"1871","type":"CrosshairTool"},{"attributes":{"bottom":{"expr":{"id":"1878","type":"Stack"}},"fill_alpha":{"value":0.8},"fill_color":{"value":"#718dbf"},"line_alpha":{"value":0.8},"line_color":{"value":"#718dbf"},"top":{"expr":{"id":"1879","type":"Stack"}},"width":{"value":0.9},"x":{"field":"brand"}},"id":"1883","type":"VBar"},{"attributes":{"bottom":{"expr":{"id":"1880","type":"Stack"}},"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"top":{"expr":{"id":"1881","type":"Stack"}},"width":{"value":0.9},"x":{"field":"brand"}},"id":"1897","type":"VBar"},{"attributes":{"label":{"value":"presell"},"renderers":[{"id":"1899","type":"GlyphRenderer"}]},"id":"1908","type":"LegendItem"},{"attributes":{"bottom":{"expr":{"id":"1878","type":"Stack"}},"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"top":{"expr":{"id":"1879","type":"Stack"}},"width":{"value":0.9},"x":{"field":"brand"}},"id":"1884","type":"VBar"},{"attributes":{"fields":["sale_on_11","presell"]},"id":"1881","type":"Stack"},{"attributes":{},"id":"1860","type":"CategoricalTicker"},{"attributes":{},"id":"1889","type":"BasicTickFormatter"},{"attributes":{"bottom":{"expr":{"id":"1878","type":"Stack"}},"fill_alpha":{"value":0.2},"fill_color":{"value":"black"},"line_alpha":{"value":0.2},"top":{"expr":{"id":"1879","type":"Stack"}},"width":{"value":0.9},"x":{"field":"brand"}},"id":"1885","type":"VBar"},{"attributes":{"fields":[]},"id":"1878","type":"Stack"},{"attributes":{"data_source":{"id":"1846","type":"ColumnDataSource"},"glyph":{"id":"1883","type":"VBar"},"hover_glyph":null,"muted_glyph":{"id":"1885","type":"VBar"},"name":"sale_on_11","nonselection_glyph":{"id":"1884","type":"VBar"},"selection_glyph":null,"view":{"id":"1887","type":"CDSView"}},"id":"1886","type":"GlyphRenderer"}],"root_ids":["1848"]},"title":"Bokeh Application","version":"1.4.0"}}
        </script>
        <script type="text/javascript">
          (function() {
            var fn = function() {
              Bokeh.safely(function() {
                (function(root) {
                  function embed_document(root) {
                    
                  var docs_json = document.getElementById('2070').textContent;
                  var render_items = [{"docid":"9524a28d-3a9e-4e10-9b5b-1a285a78069c","roots":{"1848":"034901fd-02e8-4e6f-9655-9e8e94c6d5e0"}}];
                  root.Bokeh.embed.embed_items(docs_json, render_items);
                
                  }
                  if (root.Bokeh !== undefined) {
                    embed_document(root);
                  } else {
                    var attempts = 0;
                    var timer = setInterval(function(root) {
                      if (root.Bokeh !== undefined) {
                        clearInterval(timer);
                        embed_document(root);
                      } else {
                        attempts++;
                        if (attempts > 100) {
                          clearInterval(timer);
                          console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
                        }
                      }
                    }, 10, root)
                  }
                })(window);
              });
            };
            if (document.readyState != "loading") fn();
            else document.addEventListener("DOMContentLoaded", fn);
          })();
        </script>
    
  </body>
  
</html>